package com.eclipse.e0112_io.装饰者设计模式;

public class Test {

	public static void main(String[] args) {
		FileWriter fw = new FileWriter();

		//fw.write("helllo");

		Writer1 bw = new BufferedWriter(fw);
		bw.write("hello1");
		bw.write("hello2");
		bw.write("hello3");
		bw.write("hello4");

	}

}
